﻿<%@ Page Language="C#" MasterPageFile="~/hgmanage/Main.Master" AutoEventWireup="true" CodeBehind="bookinfo.aspx.cs" Inherits="huaguwang.hgmanage.book.bookinfo" Title="无标题页" %>
<%@ Register Assembly="HGDownListTree" Namespace="huaguwang" TagPrefix="hgdownlist" %>
<%@ Register Assembly="HGWebControls" Namespace="huaguwang.WebControls" TagPrefix="cc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer"%>
<%@ Import Namespace="huaguwang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="server">
<input id="HiddenID" name="HiddenID" type="hidden" value="" />
<cc1:WebUserToolBar ID="WebUserToolBar1" runat="server" 
    onbutton0="WebUserToolBar1_Button0" onbutton1="WebUserToolBar1_Button1"  
    onbutton2="WebUserToolBar1_Button2" onbutton3="WebUserToolBar1_Button3"   
    onloaderr="wutbUserInfo_LoadErr"  
    ButtonCSS="btn_done" CssClass="toolbar" >
</cc1:WebUserToolBar>
<div  class="search_box">
    <ul>
        <li>
         <p><em>电子书名称</em><asp:TextBox ID="txtBookName" runat="server"></asp:TextBox></p>
        </li>
         <li>
             <p><em>书籍类别</em>             
                 <hgdownlist:HGDownListTree ID="HGDownList" runat="server" Width="120px" Height="17px" >
                 </hgdownlist:HGDownListTree>
             </p>
        </li> 
        <li>
            <p><em>实体书</em>
                <asp:DropDownList ID="dopRealName" runat="server">
                   <asp:ListItem Value="-1">-全部-</asp:ListItem>
                   <asp:ListItem Value="1">有实体书</asp:ListItem>
                   <asp:ListItem Value="0">没有实体书</asp:ListItem>
                </asp:DropDownList>
            </p>
        </li>
    </ul>
</div>
<div class="result_list" id="ClassPanel">
        <dl class="mul_table">
            <asp:Repeater ID="rptKnowledge" runat="server">
                <HeaderTemplate>
                    <dt>
                        <ul>
                            <li style="width: 5%">选择<input id="CheckboxALL" name="DataCheckALL" type="checkbox" onclick="javascript:CheckAllDefault(this);" /></li>
                            <li style="width:10%">编号</li>
                            <li style="width: 20%">电子书名称</li>
                            <li style="width: 15%">电子书类别</li>
                            <li style="width: 15%">上传时间</li>
                            <li style="width: 25%">书籍简介</li>
                            <li style="width:8%">是否有实体书</li>
                        </ul>
                    </dt>
                </HeaderTemplate>
                <ItemTemplate>                            
                      <dd <%#(Container.ItemIndex % 2==0)?"class='odd'":"" %>
                       onmouseover="javascript:limouseover(this);" onmouseout="javascript:limouseout(this);">
                        <ul>
                            <li style="width: 5%">
                                <input id="Checkbox1" name="DataCheck" type="checkbox" value="<%#Eval("id") %>" />
                            </li>
                            <li style="width:10%"><%#Eval("id")%></li>  
                            <li style="width: 20%;">
                            <%#Eval("Title")%></li>
                            <li style="width:15%;">
                            <%#Eval("ColorKey")%></li>
                            <li style="width:15%;">
                            <%#Eval("AddDate")%></li>  
                            <li style="width: 25%; ">
                            <%#Eval("Explain")%></li> 
                            <li style="width:8%;"><%#Eval("HasBook").Exp_BoolTryParse()?"是":"否"%></li>
                        </ul>
                    </dd>
                </ItemTemplate>
                <FooterTemplate>
                   <asp:Label ID="lblEmpty" Text="暂无数据" runat="server"  style="color:Red; font-size:15px; text-align:center; font-weight:bold;"  Visible='<%#(rptKnowledge.Items.Count==0).Exp_BoolTryParse()%>'></asp:Label>
                </FooterTemplate>
            </asp:Repeater>
        </dl>
    </div>
<div class="pagebar">        
   <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="true" FirstPageText="首页" 
             HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
             ShowCustomInfoSection="Left" showinputbox="Never" ShowNavigationToolTip="True" PageSize="10" 
              CustomInfoHTML="第%CurrentPageIndex%页/共%PageCount%页/共%RecordCount%条记录"
             OnPageChanging="Pager_PageChanging" ShowPageIndexBox="Never" CustomInfoSectionWidth="40%" 
             SubmitButtonText="" CustomInfoStyle="text-align:left">
    </webdiyer:AspNetPager>  
</div>
</asp:Content>








